package com.financial.sys.service.repayment.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.financial.model.pojo.TUserWallet;
import com.financial.sys.mapper.repayment.TUserWalletMapper;
import com.financial.sys.service.repayment.TUserWalletService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hzy
 * @since 2020-02-12
 */
@Service("walletService")
public class TUserWalletServiceImpl extends ServiceImpl<TUserWalletMapper, TUserWallet> implements TUserWalletService {

    @Override
    public TUserWallet TUserWalletById(String id) {
        return baseMapper.selectById(id);
    }

    @Override
    public void updateByPrimaryKey(TUserWallet tUserWallet) {
        baseMapper.updateById(tUserWallet);
    }
}
